evaluation of postfix expression using stack